package com.woniu.car.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author kk
 * @since 2022-08-09
 */
@TableName("t_carrier")
@ApiModel(value = "TCarrier对象", description = "")
public class TCarrier implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("承运商id")
    @TableId(value = "carrier_id", type = IdType.AUTO)
    private Integer carrierId;

    @ApiModelProperty("承运商编号")
    private Integer carierNum;

    @ApiModelProperty("承运商名称")
    private String carrierName;

    @ApiModelProperty("所属机构")
    private String company;

    @ApiModelProperty("负责人")
    private String head;

    @ApiModelProperty("负责人手机号")
    private String headPhone;

    @ApiModelProperty("车辆总数")
    private Integer carTotal;

    public Integer getCarrierId() {
        return carrierId;
    }

    public void setCarrierId(Integer carrierId) {
        this.carrierId = carrierId;
    }
    public Integer getCarierNum() {
        return carierNum;
    }

    public void setCarierNum(Integer carierNum) {
        this.carierNum = carierNum;
    }
    public String getCarrierName() {
        return carrierName;
    }

    public void setCarrierName(String carrierName) {
        this.carrierName = carrierName;
    }
    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }
    public String getHead() {
        return head;
    }

    public void setHead(String head) {
        this.head = head;
    }
    public String getHeadPhone() {
        return headPhone;
    }

    public void setHeadPhone(String headPhone) {
        this.headPhone = headPhone;
    }
    public Integer getCarTotal() {
        return carTotal;
    }

    public void setCarTotal(Integer carTotal) {
        this.carTotal = carTotal;
    }

    @Override
    public String toString() {
        return "TCarrier{" +
            "carrierId=" + carrierId +
            ", carierNum=" + carierNum +
            ", carrierName=" + carrierName +
            ", company=" + company +
            ", head=" + head +
            ", headPhone=" + headPhone +
            ", carTotal=" + carTotal +
        "}";
    }
}
